<!DOCTYPE html>
<html lang='en'>
<head>
    <meta charset='UTF-8'>
    <meta name='viewport' content='width=device-width, initial-scale=1.0'>
    <title>Document</title>
    <script type='text/javascript' src='js/vue.js'></script>
</head>
<body>
    <div id='app' >
        {{msg}}===
        <p v-html='msg2' v-text='msg3'>{{msg}}</p>
        <p v-pre>==={{msg}}====</p>
    </div>
    <script type='text/javascript'>
        var vm = new Vue({
            el: '#app',
            data: {
                msg: 'Hello Vue',
                msg2:'我是msg2',
                msg3:'<span>我是一个span标签</span>'
            }
        });
    </script>
</body>
</html>